:root {
    --text-color: #fff;
    --accent: #ff6a00;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: var(--text-color);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.3;
}

@media (max-width: 74.9375rem) {
    .desktop {
        display: none;
    }
}

@media (min-width: 75rem) {
    .mobile {
        display: none;
    }
}

.mw {
    font-family: "merriweather", sans-serif;
}

.line {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.line::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 0.75rem;
    background-color: #ff7a00;
    bottom: 0;
    transform: translateY(-0.65rem);
    z-index: -1;
    border-radius: 0.125rem;
}

#header {
    height: 6.25rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: #00000029;
    backdrop-filter: blur(12px);
    align-items: center;
    padding: 0 2rem;
}

#header .menu {
    width: 7.625rem;
}

#header .language {
    display: inline-flex;
    border: 0.0625rem solid rgba(255, 255, 255, 0.25);
    border-radius: 0.625rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

#header .language a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3.75rem;
    padding: 0.625rem 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    background: rgba(255, 255, 255, 0.04);
}

#header .language a + a {
    background: rgba(0, 0, 0, 0.3);
    border-left: 0.0625rem solid rgba(255, 255, 255, 0.18);
}

#header .language a.is-active {
    color: #fff;
}

#header .language a:not(.is-active) {
    color: rgba(255, 255, 255, 0.7);
}

#header .language a:hover {
    background: rgba(255, 255, 255, 0.07);
}

#header .language a + a:hover {
    background: rgba(255, 255, 255, 0.04);
}

.bg-stack {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

body:not(.scroll-done) .bg-stack:after {
    content: '';
    position: absolute;
    bottom: 2rem;
    margin: 0 auto;
    width: 100%;
    height: 3rem;
    background: url("images/logo_star.png");
    background-position: center;
    background-repeat: no-repeat;
    z-index: 100;
}

.bg-layer {
    position: absolute;
    inset: 0;
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    will-change: opacity, background-size;
    transition: none;
    opacity: 0;
}

.bg-layer.zooming {
    animation: bgzoom 30s linear forwards;

}

@keyframes bgzoom {
    0% {
        background-size: 100% auto;
    }
    100% {
        background-size: 120% auto;
    }
}

.bg-old {
    opacity: 1;
}

.bg-layer-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
    font-size: 2.75rem;
    line-height: 3.5rem;
    max-width: 36rem;
}

main {
    position: relative;
    z-index: 1;
}

.panel {
    min-height: 100vh;
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
}

.panel .panel-inner {
    width: 100%;
    max-width: 75rem;
    font-weight: 500;
}

.panel .panel-inner .title {
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 4.625rem;
}

.panel .panel-inner .caption {
    font-weight: 500;
    font-size: 3rem;
    line-height: 3.75rem;
}

.panel .panel-inner .small {
    font-weight: 400;
    font-size: 2.25rem;
    line-height: 2.75rem;
}

.panel .panel-outer {
    display: none;
    margin-top: 4rem;
}

.panel .panel-outer .title {
    font-size: 1.875rem;
    line-height: 2.375rem;
    text-align: left;
}

.panel.double .panel-inner {
    text-align: left;
}

#pane-footer {
    display: flex;
    flex-direction: column;
}

#pane-footer img {
    max-width: 100%;
}

#pane-footer #footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #2e3035;
    text-decoration: none;
    color: rgba(148, 150, 156, 1);

}

#pane-footer a, #pane-footer a:active, #pane-footer a:hover, #pane-footer a:visited {
    text-decoration: none;
    color: rgba(148, 150, 156, 1);
}

.video-wrap {
    margin-top: 3rem;
    position: relative;
    width: 100%;

    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 2rem;
    background-color: #000;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 75rem) {
    #header {
        padding: 0 1rem;
    }

    .bg-layer-inner {
        display: none;
    }

    .panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel .panel-inner .title {
        font-size: 2rem;
        line-height: 2.75rem;
    }

    .panel .panel-inner .small {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .panel .panel-outer {
        display: block;
        max-width: 20rem;
    }

    .line::after {
        height: 0.375rem;
        transform: translateY(-0.375rem);
    }

    #pane-footer #footer {
        height: 6rem;
        justify-content: space-around;
        flex-direction: column;
    }
}
